package com.yb.sys.gateway.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class LoadBalancerConfiguration {
 
//    @Bean
//    public LoadBalancerClient loadBalancerClient() {
//        return LoadBalancerClient.create();
//    }
//
//    @Bean
//    public LoadBalancerProperties loadBalancerProperties() {
//        return new LoadBalancerProperties();
//    }
//
//    @Bean
//    public LoadBalancerFactory loadBalancerFactory() {
//        return new LoadBalancerBuilderFactory();
//    }
//
//    @Bean
//    public LoadBalancer<ServiceInstance> roundRobinLoadBalancer(
//            LoadBalancerClient loadBalancerClient,
//            LoadBalancerProperties loadBalancerProperties,
//            LoadBalancerFactory loadBalancerFactory) {
//
//        return loadBalancerFactory.create(loadBalancerClient, loadBalancerProperties,
//                RoundRobinLoadBalancer.class);
//    }
}